%% An example for computing the EM flux

clear all

I = 5;
dw = 0.3e-3; %0.35mm
Area    = pi*(dw^2)/4;
J     = I/Area; % current density
nu0 = 4*pi*1e-7;
% % %%EM
a_o    = 20e-3; %outer diameter,30mm
a_in   = 8e-3;  %inner diameter,13mm
l     = 6e-3;  % length,10mm

%% find the equivalent single layer model for the EM
B3d = J*EMCir3D(30.78e-3,0,21.3e-3,l,a_in,a_o)  %%compute B at point (0,0, l/2)
